package com.jic.market.response.rest.promotion;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * description: PromotionDetailRestResponse
 * date: 2020/4/8 10:59
 * author: wangys
 * version: 1.0
 */
@Data
@Accessors(chain = true)
@ApiModel("活动详情描述")
public class PromotionDetailRestResponse {
    @ApiModelProperty("活动id")
    private Long promId;

    @ApiModelProperty("活动编码")
    private String promotionCode;

    @ApiModelProperty("活动名称")
    private String promName;

    @ApiModelProperty("活动开始时间戳")
    private Long startTime;

    @ApiModelProperty("活动结束时间戳")
    private Long endTime;

    @ApiModelProperty("活动开始时间字符串")
    private String startTimeStr;

    @ApiModelProperty("活动结束时间字符串")
    private String endTimeStr;

    @ApiModelProperty("前台促销类型")
    private Integer frontPromotionType;

    @ApiModelProperty("促销类型")
    private Integer promotionType;

    @ApiModelProperty("促销描述")//满1元减1元，满2元减2元
    private String description;

    @ApiModelProperty("促销规则列表")
    private List<PromotionRuleRestResponse> promotionRuleList;

    @ApiModelProperty("促销赠品列表")
    private List<PromotionGiftItemRestResponse> promotionGiftDetailList;


}
